<!DOCTYPE html>
<html>
<head>
  <title>单元测试 JQ</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
</head>
<body>

<div id="mocha"></div>
<script type="text/javascript" src="../../dist/js/jq.js"></script>
<script type="text/javascript" src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/mocha/mocha.js" type="text/javascript" ></script>
<script>mocha.setup('bdd')</script>

<script>
  var isJquery = false;
</script>

<script src="core.js"></script>
<script src="data.js"></script>
<script src="event.js"></script>
<script src="ajax.js"></script>

<script>
  var expect = chai.expect;
  var assert = chai.assert;
  if (window.mochaPhantomJS) {
    mochaPhantomJS.run();
  } else {
    mocha.run();
  }
</script>

<div id="test"></div>

</body>
</html>
